package com.lzh.rocblogbackend.model;

import lombok.Data;

@Data
public class Blog {
    private int id;
    private String title;
    private String type;
    private String cover;
    private String header;
    private String content;
    private String createTime;
    private String lastReviseTime;
    private int viewNum;

    public int getViewNum() {
        return viewNum;
    }

    public void setViewNum(int viewNum) {
        this.viewNum = viewNum;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getCover() {
        return cover;
    }

    public void setCover(String cover) {
        this.cover = cover;
    }

    public String getHeader() {
        return header;
    }

    public void setHeader(String header) {
        this.header = header;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getLastReviseTime() {
        return lastReviseTime;
    }

    public void setLastReviseTime(String lastReviseTime) {
        this.lastReviseTime = lastReviseTime;
    }
}
